﻿namespace DomainSerializer.Domains
{
	using System.Runtime.Serialization;

	[DataContract]
	public class Good : IDomain
	{
		public enum Type { Cup, Spoon, Plate };

		[DataMember]
		public string Marking { get; set; }

		[DataMember]
		public string Name { get; set; }

		[DataMember]
		public string Description { get; set; }

		[DataMember]
		public byte[] Picture { get; set; }

		[DataMember]
		public double Cost { get; set; }

		[DataMember]
		public Type GoodType { get; set; }

		[DataMember]
		public int AmountOnWarehouse { get; set; }
	}
}
